From e0628914e9fa51747ce278a7afb0a01507b2d042 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 22 May 2008 07:41:23 +0000 Subject: [PATCH] Add support for gentoo-freebsd. --- configure | 5 +++++ configure.in | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/configure b/configure index 4e3ea62e6..f2bd7042a 100755 --- a/configure +++ b/configure @@ -4354,6 +4354,8 @@ else xpathdr=/sw/include/ fi ;; + *-gentoo-freebsd*) + ;; *-*-freebsd*) if test -f /usr/local/include/expat.h ; then xpathdr=/usr/local/include @@ -4426,6 +4428,9 @@ _ACEOF fi ;; + *-gentoo-freebsd*) + EXPAT_LIB=-lexpa + ;; *-*-freebsd*) if test -f /usr/local/lib/libexpat.a ; then EXPAT_LIB=/usr/local/lib/libexpat.a diff --git a/configure.in b/configure.in index 50701149c..c60efabf6 100644 --- a/configure.in +++ b/configure.in @@ -225,6 +225,8 @@ AC_ARG_WITH(expathdr, xpathdr=/sw/include/ fi ;; + *-gentoo-freebsd*) + ;; *-*-freebsd*) if test -f /usr/local/include/expat.h ; then xpathdr=/usr/local/include @@ -279,6 +281,9 @@ AC_ARG_WITH(libexpat, AC_SUBST(EXPAT_LIB) fi ;; + *-gentoo-freebsd*) + EXPAT_LIB=-lexpa + ;; *-*-freebsd*) if test -f /usr/local/lib/libexpat.a ; then EXPAT_LIB=/usr/local/lib/libexpat.a -- 2.30.2